<?php include_partial('idea/assets') ?>
<?php use_helper('Javascript','Asset','I18N')?>
<div id="sf_admin_container">
<?php if ($sf_user->hasFlash('notice')): ?>
  <div id="notice" class="notice"><?php echo __($sf_user->getFlash('notice'), array(), 'sf_admin') ?></div>
<?php echo javascript_tag("jQuery('#notice').notification( {'duration': 10, 'show-method': 'slideDown', 'hide-method': 'slideUp'} )")?>
<?php endif; ?>

<?php if ($sf_user->hasFlash('error')): ?>
  <div id="error" class="error"><?php echo __($sf_user->getFlash('error'), array(), 'sf_admin') ?></div>
  <?php echo javascript_tag("jQuery('#error').notification( {'duration': 10, 'show-method': 'slideDown', 'hide-method': 'slideUp'} )")?>
<?php endif; ?>
</div>

<div id="login_form">
<?php echo form_tag('user/create',array('id' => "registration_form"))?>
  <table>
    <?php echo $form->render(); ?>
  </table>
  <input type="submit" value="Submit">
<form>
